package com.engr.springbooteasypoi.design.chain.client;

import com.engr.springbooteasypoi.design.chain.Filter;
import com.engr.springbooteasypoi.design.chain.Task;
import org.springframework.stereotype.Component;

/**
 * @program springboot-easypoi
 * @description:
 * @author: LiuYanXin
 * @create: 2020-09-27 11:40
 */
@Component
public class RiskFilter implements Filter {

    @Override
    public boolean filter(Task task) {

        System.out.println("风险拦截");
        return true;
    }
}
